package com.xmtlxx.oms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.common.core.domain.BaseEntity;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 财物日志视图对象 t_property_log
 *
 * @author xmtlxx
 * @date 2022-11-28
 */
@Data
@ApiModel("财物日志视图对象")
@ExcelIgnoreUnannotated
public class PropertyLogVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 日志ID
     */
    @ExcelProperty(value = "日志ID")
    @ApiModelProperty("日志ID")
    private String id;

    /**
     * objid
     */
    @ExcelProperty(value = "objid")
    @ApiModelProperty("objid")
    private String objid;

    /**
     * 记录时间
     */
    @ExcelProperty(value = "记录时间")
    @ApiModelProperty("记录时间")
    private Date logTime;

    /**
     * 经办人ID
     */
    @ExcelProperty(value = "经办人ID")
    @ApiModelProperty("经办人ID")
    private Long userId;

    /**
     * 经办人
     */
    @ExcelProperty(value = "经办人")
    @ApiModelProperty("经办人")
    private String operator;

    /**
     * 记录类型
     */
    @ExcelProperty(value = "记录类型")
    @ApiModelProperty("记录类型")
    private String logType;

    /**
     * 记录内容
     */
    @ExcelProperty(value = "记录内容")
    @ApiModelProperty("记录内容")
    private String content;

    /**
     * 存放单位ID
     */
    @ExcelProperty(value = "存放单位ID")
    @ApiModelProperty("存放单位ID")
    private Long deptId;

    @ExcelProperty(value = "存放单位编号")
    @ApiModelProperty("存放单位编号")
    private String deptNo;

    @ExcelProperty(value = "存放单位")
    @ApiModelProperty("存放单位")
    private String deptName;

    /**
     * 移交单位ID
     */
    @ExcelProperty(value = "移交单位ID")
    @ApiModelProperty("移交单位ID")
    private Long receiveDept;

    @ExcelProperty(value = "移交单位编号")
    @ApiModelProperty("移交单位编号")
    private String receiveDeptNo;

    @ExcelProperty(value = "移交单位名称")
    @ApiModelProperty("移交单位名称")
    private String receiveDeptName;

    /**
     * 物品编号
     */
    @ExcelProperty(value = "物品编号")
    @ApiModelProperty("物品编号")
    private String pno;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty("物品名称")
    private String name;

    /**
     * 存放仓库ID
     */
    @ExcelProperty(value = "存放仓库ID")
    @ApiModelProperty("存放仓库ID")
    private String storeId;

    /**
     * 存放仓库ID
     */
    @ExcelProperty(value = "存放仓库名称")
    @ApiModelProperty("存放仓库名称")
    private String storeName;

    /**
     * 附件
     */
    @ExcelProperty(value = "附件")
    @ApiModelProperty("附件")
    private String pics;

    /**
     * JSON
     */
    @ExcelProperty(value = "JSON")
    @ApiModelProperty("JSON")
    private String info;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty("数量")
    private Long nums;

    @ExcelProperty(value = "节点")
    @ApiModelProperty("节点")
    private String node;
    private List<SysOss> oss;
}
